﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ExiaWorkshopServices
{
    class Program
    {
        static void Main(string[] args)
        {
            CL_Facto oFacto;
            double nb;

            Console.WriteLine("Veuillez saisir votre notre");
            nb = Convert.ToDouble(Console.ReadLine());

            oFacto = new CL_Facto();
            nb = oFacto.factorielRecursif(nb);

            Console.WriteLine("Résultat : {0}", nb);
            Console.Read(); 
        }
    }
}
